package writeor.aidraw.model;

import java.io.Serializable;

/**
 * ai_images
 * @author 
 */
public class AiImages implements Serializable {
    private String img_path;

    private String author;

    private Integer like;

    private String prompt;

    private String width;

    private String height;

    private String steps;

    private String scale;

    private String sampler;

    private String seed;

    private String n_samples;

    private String strength;

    private String noise;

    private String uc;

    private static final long serialVersionUID = 1L;

    public String getImg_path() {
        return img_path;
    }

    public void setImg_path(String img_path) {
        this.img_path = img_path;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Integer getLike() {
        return like;
    }

    public void setLike(Integer like) {
        this.like = like;
    }

    public String getPrompt() {
        return prompt;
    }

    public void setPrompt(String prompt) {
        this.prompt = prompt;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getSteps() {
        return steps;
    }

    public void setSteps(String steps) {
        this.steps = steps;
    }

    public String getScale() {
        return scale;
    }

    public void setScale(String scale) {
        this.scale = scale;
    }

    public String getSampler() {
        return sampler;
    }

    public void setSampler(String sampler) {
        this.sampler = sampler;
    }

    public String getSeed() {
        return seed;
    }

    public void setSeed(String seed) {
        this.seed = seed;
    }

    public String getN_samples() {
        return n_samples;
    }

    public void setN_samples(String n_samples) {
        this.n_samples = n_samples;
    }

    public String getStrength() {
        return strength;
    }

    public void setStrength(String strength) {
        this.strength = strength;
    }

    public String getNoise() {
        return noise;
    }

    public void setNoise(String noise) {
        this.noise = noise;
    }

    public String getUc() {
        return uc;
    }

    public void setUc(String uc) {
        this.uc = uc;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        AiImages other = (AiImages) that;
        return (this.getImg_path() == null ? other.getImg_path() == null : this.getImg_path().equals(other.getImg_path()))
                && (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
                && (this.getLike() == null ? other.getLike() == null : this.getLike().equals(other.getLike()))
                && (this.getPrompt() == null ? other.getPrompt() == null : this.getPrompt().equals(other.getPrompt()))
                && (this.getWidth() == null ? other.getWidth() == null : this.getWidth().equals(other.getWidth()))
                && (this.getHeight() == null ? other.getHeight() == null : this.getHeight().equals(other.getHeight()))
                && (this.getSteps() == null ? other.getSteps() == null : this.getSteps().equals(other.getSteps()))
                && (this.getScale() == null ? other.getScale() == null : this.getScale().equals(other.getScale()))
                && (this.getSampler() == null ? other.getSampler() == null : this.getSampler().equals(other.getSampler()))
                && (this.getSeed() == null ? other.getSeed() == null : this.getSeed().equals(other.getSeed()))
                && (this.getN_samples() == null ? other.getN_samples() == null : this.getN_samples().equals(other.getN_samples()))
                && (this.getStrength() == null ? other.getStrength() == null : this.getStrength().equals(other.getStrength()))
                && (this.getNoise() == null ? other.getNoise() == null : this.getNoise().equals(other.getNoise()))
                && (this.getUc() == null ? other.getUc() == null : this.getUc().equals(other.getUc()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getImg_path() == null) ? 0 : getImg_path().hashCode());
        result = prime * result + ((getAuthor() == null) ? 0 : getAuthor().hashCode());
        result = prime * result + ((getLike() == null) ? 0 : getLike().hashCode());
        result = prime * result + ((getPrompt() == null) ? 0 : getPrompt().hashCode());
        result = prime * result + ((getWidth() == null) ? 0 : getWidth().hashCode());
        result = prime * result + ((getHeight() == null) ? 0 : getHeight().hashCode());
        result = prime * result + ((getSteps() == null) ? 0 : getSteps().hashCode());
        result = prime * result + ((getScale() == null) ? 0 : getScale().hashCode());
        result = prime * result + ((getSampler() == null) ? 0 : getSampler().hashCode());
        result = prime * result + ((getSeed() == null) ? 0 : getSeed().hashCode());
        result = prime * result + ((getN_samples() == null) ? 0 : getN_samples().hashCode());
        result = prime * result + ((getStrength() == null) ? 0 : getStrength().hashCode());
        result = prime * result + ((getNoise() == null) ? 0 : getNoise().hashCode());
        result = prime * result + ((getUc() == null) ? 0 : getUc().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", img_path=").append(img_path);
        sb.append(", author=").append(author);
        sb.append(", like=").append(like);
        sb.append(", prompt=").append(prompt);
        sb.append(", width=").append(width);
        sb.append(", height=").append(height);
        sb.append(", steps=").append(steps);
        sb.append(", scale=").append(scale);
        sb.append(", sampler=").append(sampler);
        sb.append(", seed=").append(seed);
        sb.append(", n_samples=").append(n_samples);
        sb.append(", strength=").append(strength);
        sb.append(", noise=").append(noise);
        sb.append(", uc=").append(uc);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}